package com.hxl.linuxfilemanager.util;

import com.hxl.linuxfilemanager.entity.R;

public class ResponseUtils {

    public static <T> R<T> suceess(String msg,T data){
        return new R<T>(0,msg,data);
    }

    public static R<String> error(int code,String msg){

        return  new R<String>(code,msg,"{}");
    }
}
